import smms from '@/utils/smms'

export const uploadImage = (data) => {
  return smms({
    method: 'POST',
    url: '/upload',
    headers: {
      'Content-Type': 'multipart/form-data',
      Authorization: window.localStorage.getItem('token')
    },
    data
  })
}
